import request from '@/utils/request'

// 查询业务服务资源端到端关系
export function getStepId(data) {
  return request({
    url: '/admin/modules/business/stepIt/query',
    method: 'post',
    data: data
  })
}

// 更新坐标
export function updateLocation(data) {
  return request({
    url: '/admin/modules/business/stepIt/updateLocation',
    method: 'post',
    data: data
  })
}

// 新增业务服务资源端到端关系
export function add(data) {
  return request({
    url: '/admin/modules/business/stepIt/add',
    method: 'post',
    data: data
  })
}

// 删除业务服务资源端到端关系
export function remove(data) {
  return request({
    url: '/admin/modules/business/stepIt/delete',
    method: 'delete',
    data: data
  })
}

// 查询是否被其他业务步骤公用
export function selectBusinessState(data) {
  return request({
    url: '/admin/modules/business/stepIt/selectBusinessState',
    method: 'post',
    data: data
  })
}



